<include file="../header" />
<body class="J_scroll_fixed">
    <script>

        $(document).ready(function() {

            $('a.win').click(function() {

                var id = $(this).attr("memberId");

                window.location.href = "{:U('product/win')}&id="+id;

            });

        });


    </script>
    <form class="well form-search" method="post" style="float:left;width:100%;" action="{:U('product/member')}">
        <input type="hidden" name="id" value="{$groupId}" />
        <div class="search_type cc mb10">
            <div class="mb10">
        <span class="mr20">
            团长昵称：<input type="text" name="nickname" value="{$nickname}" />
            <button class="btn btn-primary" type="submit">搜索</button>
        </span>
            </div>
        </div>
    </form>
<div class="wrap J_check_wrap">
    <table class="table table-hover table-bordered">
        <thead>
            <tr>
                <th>昵称</th>
                <th>头像</th>
                <th>openid</th>
                <th>购买份额</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
        <foreach name="list" item="vo">
            <tr>
                <td>{$vo.nickname}</td>
                <td><img src="{$vo.headimgurl}" style="height:100px;width:100px;" /></td>
                <td>{$vo.openid}</td>
                <td>{$vo.number}</td>
                <td>
                    <a class="win" href='javascript:void(0)' memberId="{$vo.member_id}">指定为中奖人</a>
                </td>
            </tr>
        </foreach>
        </tbody>
    </table>
    <div class="pagination">{$page}</div>
</div>
<script src="__ROOT__/statics/js/common.js"></script>
</body>
</html>